package com.lhm.entity;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

@Document("t_matter")
public class MyMatter {
    @Id
    private String id;
    private String details;

    @Override
    public String toString() {
        return "MyMatter{" +
                "id='" + id + '\'' +
                ", details='" + details + '\'' +
                '}';
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getDetails() {
        return details;
    }

    public void setDetails(String details) {
        this.details = details;
    }
}
